.header {
    position: fixed;
    width: 100%;
    min-width: 320px;
    max-width: 600px;
    top: 0;
    z-index: 2;



    .top {
        display: flex;
        height: 44px;
        align-items: center;
        padding: 0 20px;
        .menuIcon {
            width: 24px;
            height: 24px;
            font-size: 24px;
        }

        .logo {
            flex-grow: 1;
            height: 24px;
            line-height: 30px;
            background-position: center 80%;
            background-repeat: no-repeat;
            background-size: auto 80%;
            text-align: center;
            font-size: 18px;
            font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            color: #282828;
        }

        .searchIcon {
            width: 24px;
            height: 24px;
            font-size: 24px;
        }
    }

    &.showNav {
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);

        .top {

            background: #282828;

            .menuIcon {
                color: white;
            }

            .logo {
                color: white;
            }

            .searchIcon {
                color: white;
            }
        }

    }
    &.home{
        .top {

            .menuIcon {
                color: white;
            }

            .logo{
                background-image: url(./asset/logowhite.svg);
             }
            .searchIcon {
                color: white;
            }
        }

    }
    .navlist{
        display: flex;
        height: 60px;
        align-items: center;
        background: #282828;
        color: white;
        justify-content: space-around;
        .icon{
            font-size: 24px;
        }
    }
}